<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>ThreeDScatterChart.addScatterGroup</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1"><a href="ThreeDScatterChart.htm">ThreeDScatterChart</a>.<wbr>addScatterGroup</p>
<hr class="separator">
<p class="heading2a">Usage</p>
<div class="content">
public ThreeDScatterGroup addScatterGroup(double[] xData, double[] yData, double[] zData [, String name [, int symbol [, int symbolSize [, int fillColor [, int edgeColor ]]]]])
</div>
<p class="heading2">Description</p>
<div class="content">
Adds a group of scatter symbols to the ThreeDScatterChart.<br><br>
A scatter chart can be considered as a special configuration of a line chart, in the data symbols are enabled and the line width is set to zero. Therefore only the data symbols are visible and the chart appears as scattered.
</div>
<p class="heading2">Arguments</p>
<div class="content">
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Argument</th><th width="19%">Default</th><th>Description</th>
</tr>
<tr>
<td>xData</td><td>(Mandatory)</td><td>An array of numbers representing the x values of the data points.</td></tr><tr><td>yData</td><td>(Mandatory)</td><td>An array of numbers representing the y values of the data points.</td></tr><tr><td>zData</td><td>(Mandatory)</td><td>An array of numbers representing the z values of the data points.</td></tr><tr><td>name</td><td>""</td><td>The name of the symbol group. The name will be used in the legend box, if one is available. An empty string means the symbol group has no name.</td></tr><tr><td>symbol</td><td><a href="Chart.CircleShape.htm">CircleShape</a></td><td>One of the predefined symbol constants to specify the symbol to use. (See <a href="shapespec.htm">Shape Specification</a> for available built-in shapes.)</td></tr><tr><td>symbolSize</td><td>5</td><td>The size of the symbol in pixels. By default, the width and height will be of the same size. If you want to use different size for width and height, you can pass the width and height to <a href="Chart.xySize.htm">Chart.xySize</a> and use the return value as the size.</td></tr><tr><td>fillColor</td><td>-1</td><td>The color used to fill the symbol. -1 means that the color is automatically selected from the palette. <a href="Chart.SameAsMainColor.htm">SameAsMainColor</a> means the color is based on the z value of the symbol as according to the <a href="ColorAxis.htm">ColorAxis</a> (accessible via <a href="ThreeDChart.colorAxis.htm">ThreeDChart.colorAxis</a>).</td></tr><tr><td>edgeColor</td><td>-1</td><td>The edge color used to draw the edge of the symbol. -1 means using <a href="Chart.LineColor.htm">LineColor</a> as the edge color.</td>
</tr>
</table>
</div>
</div>
<p class="heading2">Return Value</p>
<div class="content">
A <a href="ThreeDScatterGroup.htm">ThreeDScatterGroup</a> object representing the symbol group created.
</div>
<br><hr class="separator">
<div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
